package model

// 轮播图

type Banner struct {
	BaseModel
	Title  string `form:"title" json:"title" gorm:"type:varchar(255) not null;comment:标题"`
	Desc   string `form:"desc" json:"desc" gorm:"type:varchar(255);comment:描述"`
	Images string `form:"images" json:"images" gorm:"type:varchar(255) not null;comment:图片地址"`
	Url    string `form:"url" json:"url" gorm:"type:varchar(255);comment:是否有跳转地址"`
	Scene  uint   `json:"scene" form:"scene" gorm:"type:int(2);default:0;comment:场景 0未知 1 首页轮播图"`
}
